//
//  AFAppClient.h
//  AFAppClient
//
//  Created by Irewest on 14-8-4.
//  Copyright (c) 2014年 Irewest. All rights reserved.
//

#import "AFHTTPRequestOperationManager.h"

@interface AFAppClient : AFHTTPRequestOperationManager

+ (AFAppClient *)sharedManager;

- (void)postWithURL:(NSString *)urlString
     withParameters:(NSDictionary *)paramters
            success:(void (^)(id))successBlock
            failure:(void (^)(NSError *))failureBlock;

- (void)getWithURL:(NSString *)urlString
    withParameters:(NSDictionary *)paramters
           success:(void (^)(id))successBlock
           failure:(void (^)(NSError *))failureBlock;

@end
